package com.zlzlib.vuePage.bean.dto;

import com.zlzlib.common.bean.BooleanEnum;
import com.zlzlib.vuePage.annotation.form.FormBaseField;
import com.zlzlib.vuePage.annotation.data.FormDataEnumField;
import com.zlzlib.vuePage.annotation.form.FormInputField;
import com.zlzlib.vuePage.annotation.form.FormRadioButtonField;
import lombok.Data;

/**
 * 测试的查询条件数据
 *
 * @DateTime: 2024/5/23 10:54
 * @Author zlz
 * @Version 1.0
 */
@Data
public class DemoFindDto {

    @FormBaseField(title = "关键词")
    @FormInputField()
    private String key;

    @FormBaseField(title = "是否开启")
    @FormRadioButtonField(dataField = @FormDataEnumField(dataClass = BooleanEnum.class))
    private boolean open;

//    @FormBaseField(title = "列表", type = FormShowTypeEnum.select)
//    @FormSelectField()
//    private String list;

}
